<template>
<div class="dy-main EAccountEnter">
  <div class="dy-header">
    <x-header :right-options="{showMore: true}" :left-options="{preventGoBack: true}" @on-click-back="back" @on-click-more="showMenus = true">E账户</x-header>
  </div>
  <div class="dy-body">
    <group>
      <cell :title="secondAccount" @click.native="toSecondAc" is-link></cell>
      <cell :title="thridAccount" @click.native="toThridAc" is-link></cell>
      <cell :title="AccountSearch" @click.native="toAcSreach" is-link></cell>
      <cell :title="Rechange" @click.native="toRechange" is-link></cell>
      <cell :title="RiskEvaluate" @click.native="toRechange" is-link></cell>
    </group>
  </div>
</div>
</template>

<script>
export default{
  data () {
    return {
      secondAccount: '我的资管计划',
      thridAccount: '资管计划产品购买',
      AccountSearch: '电子合同查询',
      Rechange: '交易查询',
      RiskEvaluate: '风险评估'
    }
  },
  methods: {
    toSecondAc: function () {
      this.$router.push({name: 'EAccountId'})
    },
    toThridAc: function () {
      this.$router.push({name: 'EAccountBindcard'})
    },
    toAcSreach: function () {
      this.$router.push({name: 'EAccountOpenQuery'})
    },
    toRechange: function () {
      this.$router.push({name: 'EAccountRechange'})
    },
    back () {
      this.$publicFun.goBack(this)
    }
  }
}
</script>

<style lang="less">
</style>
